import { loadPromptFromTemplate, generatePrompt } from '../loader.js';

interface SystematicReadContentParams {
  targetTopic: string;
  informationSources?: string[];
  priorityLevel?: string;
  qualityRequirement?: string;
  memoryDir?: string;
}

export async function getSystematicReadContentPrompt(params: SystematicReadContentParams): Promise<string> {
  const template = await loadPromptFromTemplate('systematicReadContent/index.md');
  
  return generatePrompt(template, {
    targetTopic: params.targetTopic,
    informationSources: params.informationSources?.join(', ') || 'project_internal, technical_docs',
    priorityLevel: params.priorityLevel || 'medium',
    qualityRequirement: params.qualityRequirement || 'standard',
    memoryDir: params.memoryDir || ''
  });
}
